<?php

namespace App\Models;

/**
 * @mixin IdeHelperAutoLockTask
 */
class AutoLockTask extends BaseModel
{
    protected $appends = [
        'display_max_price',
        'display_min_price',
    ];

    public function getDisplayMaxPriceAttribute()
    {
        return toYuan($this->max_price);
    }

    public function getDisplayMinPriceAttribute()
    {
        return toYuan($this->min_price);
    }
}
